package org.robert.export_client.easyexcel.read.entity;

import lombok.Data;
import org.robert.export_client.aop.ExcelDictAdapter;

import java.util.Map;

/**
 * @Description
 * @Author robert
 * @Date 2024/1/13 22:40
 **/
@Data
public class ExcelReadRequest<T> {

    public String path; // 读取路径 + 文件名

    public Class<T> clazz;

    public Map<String, Map<String, String>> dictMap;

    public ExcelDictAdapter<T> checker;

    public boolean check(){
        return !(clazz == null);
    }
}
